package com.example.design.decorators;

public class TestTea {
    public static void main(String[] args) {
        Milk milk=new FlavorMilk();
        System.out.println(milk.getName()+":"+milk.getPrice());

        BudingTea budingTea=new BudingTea(milk);
        System.out.println(budingTea.getName()+":"+budingTea.getPrice());
    }
}
